package com.it.service;

import com.it.domain.TagMap;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagMapService {

    public Object UpdateMap(List<Integer> tagId, Integer targetType, Integer targetId);

    public Integer AddTagMap(@Param("tagId") List<Integer> tagId, Integer targetType, Integer targetId);

    public Integer DeleteTagMap(Integer SongListId);

    public List<Integer> SelectTagMap(Integer targetId,Integer targetType);

    public List<Integer> SelectByTagType(Integer targetType);

    public List<Integer> SelectMainTag(Integer targetType,Integer tagId);

    public List<TagMap> SelectListTag(Integer targetType, Integer targetId);
}
